package cn.lingyangwl.agile.system.assembly;

import cn.lingyangwl.agile.system.model.entity.ArticleGroup;
import cn.lingyangwl.agile.system.model.rqrs.article.ArticleGroupResp;
import cn.lingyangwl.agile.system.model.rqrs.article.ArticleGroupSaveReq;
import cn.lingyangwl.agile.system.model.rqrs.article.ArticleGroupUpdateReq;
import org.mapstruct.Mapper;

/**
 * 文章组
 *
 * @author shenguangyang
 */
@Mapper(componentModel = "spring")
public interface ArticleGroupAssembly {
  ArticleGroupResp toArticleGroupResp(ArticleGroup source);
  
  ArticleGroup toArticleGroup(ArticleGroupSaveReq source);
  
  ArticleGroup toArticleGroup(ArticleGroupUpdateReq source);
}
